/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.qhq.entity;

import org.hibernate.validator.constraints.Length;
import java.util.List;
import com.google.common.collect.Lists;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 学校管理Entity
 * @author 秦华权
 * @version 2017-11-27
 */
public class School extends DataEntity<School> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 学校名称
	private String collegeType;		// 院校类型
	private String region;		// 所在省份
	private String schoolLevel;		// 办学层次
	private String schoolProperty;		// 办学性质
	private String schoolUpdept;		// 院校隶属
	private String address;		// 学校地址
	private String website;		// 学校网站
	private String image;		// 学校图片
	private String recruit;		// 招生章程
	private String mobile;		// 联系电话
	private String log;		// 学校图标
	private String code;		// 招生代码
	private String sftwo;		// 是否211
	private String sfnine;		// 是否985
	private String spare1;		// 备用1
	private String spare2;		// 备用2
	private String spare3;		// 备用3
	private String spare4;		// 备用4
	private List<SchoolDeptlist> schoolDeptlistList = Lists.newArrayList();		// 子表列表
	private List<SchoolParentlist> schoolParentlistList = Lists.newArrayList();		// 子表列表
	private List<SchoolSystemlist> schoolSystemlistList = Lists.newArrayList();		// 子表列表
	
	public School() {
		super();
	}

	public School(String id){
		super(id);
	}

	@Length(min=0, max=100, message="学校名称长度必须介于 0 和 100 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=50, message="院校类型长度必须介于 0 和 50 之间")
	public String getCollegeType() {
		return collegeType;
	}

	public void setCollegeType(String collegeType) {
		this.collegeType = collegeType;
	}
	
	@Length(min=0, max=50, message="所在省份长度必须介于 0 和 50 之间")
	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}
	
	@Length(min=0, max=50, message="办学层次长度必须介于 0 和 50 之间")
	public String getSchoolLevel() {
		return schoolLevel;
	}

	public void setSchoolLevel(String schoolLevel) {
		this.schoolLevel = schoolLevel;
	}
	
	@Length(min=0, max=50, message="办学性质长度必须介于 0 和 50 之间")
	public String getSchoolProperty() {
		return schoolProperty;
	}

	public void setSchoolProperty(String schoolProperty) {
		this.schoolProperty = schoolProperty;
	}
	
	@Length(min=0, max=50, message="院校隶属长度必须介于 0 和 50 之间")
	public String getSchoolUpdept() {
		return schoolUpdept;
	}

	public void setSchoolUpdept(String schoolUpdept) {
		this.schoolUpdept = schoolUpdept;
	}
	
	@Length(min=0, max=200, message="学校地址长度必须介于 0 和 200 之间")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
	@Length(min=0, max=100, message="学校网站长度必须介于 0 和 100 之间")
	public String getWebsite() {
		return website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}
	
	@Length(min=0, max=100, message="学校图片长度必须介于 0 和 100 之间")
	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}
	
	@Length(min=0, max=100, message="招生章程长度必须介于 0 和 100 之间")
	public String getRecruit() {
		return recruit;
	}

	public void setRecruit(String recruit) {
		this.recruit = recruit;
	}
	
	@Length(min=0, max=50, message="联系电话长度必须介于 0 和 50 之间")
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	@Length(min=0, max=100, message="学校图标长度必须介于 0 和 100 之间")
	public String getLog() {
		return log;
	}

	public void setLog(String log) {
		this.log = log;
	}
	
	@Length(min=0, max=50, message="招生代码长度必须介于 0 和 50 之间")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	@Length(min=0, max=50, message="是否211长度必须介于 0 和 50 之间")
	public String getSftwo() {
		return sftwo;
	}

	public void setSftwo(String sftwo) {
		this.sftwo = sftwo;
	}
	
	@Length(min=0, max=50, message="是否985长度必须介于 0 和 50 之间")
	public String getSfnine() {
		return sfnine;
	}

	public void setSfnine(String sfnine) {
		this.sfnine = sfnine;
	}
	
	@Length(min=0, max=100, message="备用1长度必须介于 0 和 100 之间")
	public String getSpare1() {
		return spare1;
	}

	public void setSpare1(String spare1) {
		this.spare1 = spare1;
	}
	
	@Length(min=0, max=100, message="备用2长度必须介于 0 和 100 之间")
	public String getSpare2() {
		return spare2;
	}

	public void setSpare2(String spare2) {
		this.spare2 = spare2;
	}
	
	@Length(min=0, max=100, message="备用3长度必须介于 0 和 100 之间")
	public String getSpare3() {
		return spare3;
	}

	public void setSpare3(String spare3) {
		this.spare3 = spare3;
	}
	
	@Length(min=0, max=100, message="备用4长度必须介于 0 和 100 之间")
	public String getSpare4() {
		return spare4;
	}

	public void setSpare4(String spare4) {
		this.spare4 = spare4;
	}
	
	public List<SchoolDeptlist> getSchoolDeptlistList() {
		return schoolDeptlistList;
	}

	public void setSchoolDeptlistList(List<SchoolDeptlist> schoolDeptlistList) {
		this.schoolDeptlistList = schoolDeptlistList;
	}
	public List<SchoolParentlist> getSchoolParentlistList() {
		return schoolParentlistList;
	}

	public void setSchoolParentlistList(List<SchoolParentlist> schoolParentlistList) {
		this.schoolParentlistList = schoolParentlistList;
	}
	public List<SchoolSystemlist> getSchoolSystemlistList() {
		return schoolSystemlistList;
	}

	public void setSchoolSystemlistList(List<SchoolSystemlist> schoolSystemlistList) {
		this.schoolSystemlistList = schoolSystemlistList;
	}
}